LD = g++
prog = network
SRC = \
	test_blank.cpp 

OBJ = \
	test_blank.o

LDFLAGS = -L../../model -L../socket -lmodel -lboost_thread -lboost_regex -lsocket_cpp -lxml2 -lnetwork -L../
CFLAGS = -std=c99 -g -fPIC -DPIC -fvar-tracking  -I/usr/include/libxml2

all: $(prog)

${prog}: $(OBJ)
	$(LD) $(LDFLAGS) $(OBJ) -o $(prog)

%.o: %.cpp
	$(CC) $(CFLAGS) -c $< -o $@

clean:
	rm $(OBJ)
	rm $(prog)

run:
	./$(prog)
